var app = new Vue({
    el: '#app',
    data: {
        params: {
            username: null,
            password: null,
            captcha: null
        }
    },
    methods: {
        onClick: function () {
            console.log('params: ' + JSON.stringify(this.params));
            this.$http.post(
                'http://172.16.0.7:8088/system/user/login',
                this.params,
                { emulateJSON: true, changeOrigin: true }
            ).then(function (success) {
                console.log('s: ' + JSON.stringify(success));
            }, function (error) {
                console.log('e: ' + JSON.stringify(error));
            })
        }
    }
})    